Forbiddance

Forbiddance
Level6th Level (ritual) Casting Time10 minutes RangeTouch
AoESpecial Duration24 hours
SchoolRadiant/Shadow ComponentsV, S, M (a sprinkling of holy water, rare incense, and powdered ruby worth at least 1,000 gp)
ClassesWhite Mage

You create a ward against magickal travel that protects up to 10,000 square metres of floor space to a height of 10m above the floor. For the duration, creatures can't teleport into the area or use portals, such as those created by the Gate spell, to enter the area. The spell proofs the area against planar travel, and therefore prevents creatures from accessing the area by way of the Astral Plane, Ethereal Plane, Feywild, Shadowfell, or the Warp spell.

In addition, the spell damages types of creatures that you choose when you cast it. Choose one or more of the following: Celestials, Elementals, Fey, Fiends, and Undead. When a chosen creature enters the spell’s area for the first time on a turn or starts its turn there, the creature takes 5d10 HOLY or DARK damage (your choice when you cast this spell).

When you cast this spell, you can designate a password. A creature that speaks the password as it enters the area takes no damage from the spell.

The spell's area can’t overlap with the area of another Forbiddance spell. If you cast Forbiddance every day for 30 days in the same location, the spell lasts until it is dispelled, and the material components are consumed on the last casting.

(If you have the Ritual Casting feature, then this spell can be cast as a ritual – if you increase the casting time by 10 minutes, then this spell doesn't use spell slots.)